ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / Texture2D Class / Create Method / Create(Device,Texture2DDescription,DataRectangle[]) Method
The device with which to associate the texture.
The description of the texture.
An array of initial texture data for each subresource.

In This Topic
    Create(Device,Texture2DDescription,DataRectangle[]) Method
    In This Topic
    Initializes a new instance of the Texture2D class.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal device As Device, _
       ByVal description As Texture2DDescription, _
       ByVal ParamArray data() As DataRectangle _
    ) As Texture2D
    public static Texture2D Create( 
       Device device,
       Texture2DDescription description,
       params DataRectangle[] data
    )

    Parameters

    device
    The device with which to associate the texture.
    description
    The description of the texture.
    data
    An array of initial texture data for each subresource.
    See Also